﻿using BasicInformation.ErrorCode;
using MediatR;

namespace BasicInformation.ApiWrite.Application.Command.Location
{
    public class AddLocationCommand:IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 库位编号(自动生产)
        /// </summary>
        public string LocationCode { get; set; }
        /// <summary>
        /// 库位名称
        /// </summary>
        public string LocationName { get; set; }
        /// <summary>
        /// 库位类型
        /// </summary>
        public int LTypeId { get; set; }
        /// <summary>
        /// 仓库
        /// </summary>
        public int DepotId { get; set; }
        /// <summary>
        /// 是否禁用
        /// </summary>
        public bool IsState { get; set; }
        /// <summary>
        /// 是否默认
        /// </summary>
        public bool IsPreset { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? LocationRemark { get; set; }
    }
}
